<?php

namespace app\common\validate;

use think\Validate;

class Countdown extends Validate {

    protected $rule = [
        'match_id' => 'require|number',
        'countdown_img'=>'require',

    ];
    protected $field = [
        'match_id' => '赛程id',
        'countdown_img'=>'背景图'
        
    ];
    protected $scene = [

        'timeinfo' => ['match_id'],

    ];

}
